<form id="form" action="{:url('info.tpl/edit')}">
<table class="formtable" id="attr"> 
    <tr>
        <th>模板名称:</th>
        <td><input class="input" datatype="*" type="text" name="name" /></td>
        <tr>
            <th>模板类型</th>
            <td class="input-group">
                <input class="input w100" datatype="*" type="text" name="title[]" placeholder="模板标题"/>
                <select class="select" name="types[]">
                    <option value="text" selected>文本输入</option>
                    <option value="address">地址</option>
                    <option value="number">整数数字</option>
                    <option value="digit"">小数点数字</option>
                    <option value="idcard">身份证输入</option>
                    <option value="date">年月日时间</option>
                    <option value="selector">选择器</option>
                </select>
                <input class="input w300" type="text" name="placeholder[]" placeholder="提示语"/>
                <span  class="fn-cp ml5" id="add_attr"><i class="iconfont icon-add_icon"></i></span> <br />
                <input class="input w500 mt5" type="text" name="values[]" placeholder="默认值,多个以|线分开"/>
            </td>
        </tr>   
    </tr>
</table>
<table class="formtable"> 
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-blue submit" />
            <input type="reset" value="重置" class="button"/>
        </td>
    </tr>
</table>
</form>
{include file="info:tpl:bottom" /}